package t.com.bean;

import java.util.List;

/**
 * @author：zcx
 * @date:on 2018/2/28 0028 17:04
 */

public class NewResultBean {

    /**
     * error : 0
     * message :
     * data : {"list":[{"id":1,"co":100},{"id":2,"co":300},{"id":3,"co":500},{"id":4,"co":1000}]}
     */

    private int error;
    private String message;
    private DataBean data;

    public int getError() {
        return error;
    }

    public void setError(int error) {
        this.error = error;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<NewsBean> list;

        public List<NewsBean> getList() {
            return list;
        }

        public void setList(List<NewsBean> list) {
            this.list = list;
        }

    }
}
